import {defineStore} from "pinia";
export const useMainStore = defineStore("main",{
    state(){
        return {
            Data:[
                
            ],
            classID:"undefined",
            token:"undefined",
            Answer:"",
            data:null
        }
    },
    actions:{
        getData(res){
            this.Data=res
        },
        saveToken(res){
            this.token=res
        },
        saveClassID(res){
            this.classID=res
        },
        saveAnswer(res){
            this.Answer=res
        },
        savedata(res){
            this.data=res
        }
    }
})